package io.kiki.sba.registry.server.metadata.metadataServer.impl;


import io.kiki.sba.registry.common.model.metaserver.nodes.CentralControlNode;
import io.kiki.sba.registry.observer.impl.AbstractLifecycleObservable;
import io.kiki.sba.registry.server.metadata.MetadataServer;

import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.locks.ReadWriteLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;


public abstract class AbstractMetadataServer extends AbstractLifecycleObservable implements MetadataServer {

    protected final ReadWriteLock lock = new ReentrantReadWriteLock();
    protected volatile Set<CentralControlNode> centralControlNodeSet = new HashSet<>();
}
